package de.fuberlin.inf.alp3.ue04;

public class TestC {
    public static void main(String[] args) {
        CloneableExample a = new CloneableExample("original");
        System.out.println(a.value);
        C<CloneableExample> c;
        try {
            c = new C<CloneableExample>(a);
            System.out.println(((CloneableExample) (c.value)).value);
        } catch (CloneNotSupportedException e) {
            e.printStackTrace();
        }
        Object obj = new String();
        System.out.println(obj.getClass());
    }
}
